package com.neusoft.neuiotms.dcom.repository.problem;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcom.model.problem.ProblemConfirmation;

public interface ProblemConfirmationRepository
        extends JpaRepository<ProblemConfirmation, Long>, CustomizedProblemConfirmationRepository {

    ProblemConfirmation findByWorkOrderNumAndTaskId(String workOrderNum, String taskId);

    void deleteByWorkOrderNum(String workOrderNum);

    ProblemConfirmation findByWorkOrderNum(String workOrderNum);
}
